/*
 * Copyright © Jack魏 2022 - 2022, All Rights Reserved.
 */

package cn.jack1996.yiyi.mapper.sys;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.jack1996.yiyi.bean.SysUser;

/**
 * 系统用户管理Mapper
 *
 * @author Jack魏
 * @since 2022-11-11
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
    /**
     * 根据用户名查找是否存在
     *
     * @param account 登录名
     * @return 用户信息
     */
    SysUser selectByAccount(@Param("account") String account);
}
